package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SampleClause {

    private int beginIndex;
    private int endIndex;
    private SampleMethod sampleMethod;
    private NumericValueExpression samplePercentage;
    private RepeatableClause repeatableClause;

    public SampleClause(int beginIndex,
                        int endIndex,
                        SampleMethod sampleMethod,
                        NumericValueExpression samplePercentage,
                        RepeatableClause repeatableClause) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.sampleMethod = sampleMethod;
        this.samplePercentage = samplePercentage;
        this.repeatableClause = repeatableClause;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SampleMethod getSampleMethod() {
        return sampleMethod;
    }

    public NumericValueExpression getSamplePercentage() {
        return samplePercentage;
    }

    public RepeatableClause getRepeatableClause() {
        return repeatableClause;
    }

}
